package com.msb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: zhaoss
 * MyController 控制器、控制类
 */
@Controller // 放入springmvc容器
public class MyController {

    @RequestMapping(value = {"/test1","/test01"})
    public String test1(){
        System.out.println("test1控制单元被访问");
        // 请求转发到first.jsp:
        return "/first.jsp";
    }


}
